home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Maps / Ragnar_M2 / DrunkWarder.py < prev    next >
Text File  |  2000-10-13  |  1KB  |  34 lines

  1. import def_class
  2. import Bladex
  3. import Enm_Def
  4. import Reference
  5. #import Bldb
  6.  
  7.  
  8. #Bladex.LoadSampledAnimation("..\\..\\Anm\\Tkn_sleep.bmv","Tkn_sleep",1,"Knight_Traitor")
  9. #Bladex.LoadSampledAnimation("..\\..\\Anm\\Tkn_sleep.bmv","Tkn_sleep",1,"Knight_Traitor")
  10. #Bladex.LoadSampledAnimation("..\\..\\Anm\\Tkn_sleep_hit.bmv","Tkn_sleep_hit",1,"Knight_Traitor")
  11. #Bladex.LoadSampledAnimation("..\\..\\Anm\\Tkn_dth_sleep.bmv","Tkn_dth_sleep",0,"Knight_Traitor")
  12.  
  13. #####################
  14. #     Carcelero     #
  15. #####################
  16.  
  17. carcelero=Bladex.CreateEntity("Carcelero", "Knight_Traitor", -116575.0, 8575.0, 68700.0,"Person")
  18. carcelero.Data=def_class.DrunkWarder(carcelero)
  19. carcelero.Life=1
  20. carcelero.Angle=0.0
  21. carcelero.Blind=1
  22. carcelero.Deaf=1
  23.  
  24.  
  25. sectoriniccarc=Bladex.GetSector(-112000.0, 7000.0, 61700.0)
  26. sectoriniccarc.OnEnter=IniciaCarcelero
  27. carcelero.ImHurtFunc=Herido
  28. carcelero.ImDeadFunc=Matado
  29.  
  30. Bladex.AddScheduledFunc(Bladex.GetTime()+0.12, carcelero.SetOnFloor, ())
  31.  
  32. sectorapagaronq=Bladex.GetSector(-95000.0, 17250.0, 70000.0)
  33. sectorapagaronq.OnEnter=ApagaRonquidos
  34.